package com.maolong.spring.day01;

import java.util.HashMap;
import java.util.Map;

public class UserDao {
    private static Map<String, String> hashMap = new HashMap<>();
    static {
        hashMap.put("1","maolong");
        hashMap.put("2","maolong2");
        hashMap.put("3","maolong3");
    }
    public String queryUserName(String uid) {
        return hashMap.get(uid);
    }
}
